package com.example.demo.innoket.util;

import com.example.demo.innoket.generate.Underline2Camel;

/**
 */
public class GeneratorConfig {

	//0:Sequeuece自增；1：UUID随机
	public static final int ID_GENERATE_STRATGE = 0;

	public static final String[] EXCLUDE_COL = new String[] { "id", "deleted_at", "created_at",
			"updated_at" };
	public static enum ModulePath {

		//TODO -----------------------------2.此处需要修改表前缀，life_car 改为 life\\car  life_是标准前缀, car是模块名----------------------------

		PHP_COMMON_BASE("汽车服务","life\\car","");
//		PHP_COMMON_BASE("会员服务","\\com\\life\\common\\member","");

		//模块名称
		public String name;
		//项目内Dao相对路劲
		public String daoPath;
		//项目内Mapper相对路劲
		public String mapperPath;

		private ModulePath(String name, String daoPath, String mapperPath) {
			this.name = name;
			this.daoPath = daoPath;
			this.mapperPath = mapperPath;
		}

		public String getPath(FileType type) {
			return type.getType().replace(".","\\");
		}
	}
}
